from datetime import datetime

from exts import db


class BaseModel(db.Model):
    __abstract__ = True

    date_time = db.Column(db.DateTime, default=datetime.now(), primary_key=True)